package game.entities;
 
import game.level.Level;
 
public abstract class Hostile extends Mob {
	
		public Player target;
 
        public Hostile(Level level, String name, int x, int y, int speed, Player target, int maxSpeed) {
                super(level, name, x, y, speed, maxSpeed);
                this.target = target;
                this.isEnemy = true;
        }
       
        public abstract boolean hasCollided(int xa, int ya);
 
        public abstract void idle();
 
        public abstract void attack(Player player);
 
        public abstract boolean seesTarget(Player player);
 
}

